<table class="main">
  <thead class="ui-widget-header">
    <tr>
      <th></th>
      <?php include_partial('field/table_header', array('headers'=> $headers)); ?>
    </tr>
  </thead>
  <?php include_partial('field/table_rows', array('rows'=> $rows)) ?>
</table>